<?php
$host = isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : '');
switch($host){
	case "liuyimin.com.cn":
	case "www.liuyimin.com.cn":
	case "www.cike.org":
		header("HTTP/1.1 301 Moved Permanently");
		header("Location: http://cike.org/");
		exit;
		break;
	case "blog.cike.org":
		require('./wp-index.php');
		break;
	case "cike.org":
		require('./ck-index.php');
		break;
}
?>